from django.urls import path
from . import views

app_name = 'backup'

urlpatterns = [
    # 备份管理
    path('list/', views.BackupListView.as_view(), name='backup_list'),
    path('create/', views.BackupCreateView.as_view(), name='backup_create'),
    path('restore/', views.BackupRestoreView.as_view(), name='backup_restore'),
    path('quick-restore/', views.quick_restore, name='quick_restore'),

    # 恢复选项
    path('recovery-options/', views.RecoveryOptionsView.as_view(), name='recovery_options'),

    # 统计信息
    path('statistics/', views.BackupStatisticsView.as_view(), name='backup_statistics'),

    # 菜单树
    path('menu-tree/', views.menu_tree, name='menu_tree'),
]
